﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelEmployees2.aspx.cs" Inherits="Train_SelEmployees2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加培训人员</title>
    <script language="javascript" type="text/javascript">
        function sucess(pindex)
        {
            alert('添加人员成功！');
            window.close();
            var temp=window.opener.location.href;            
            var i=temp.indexOf("?");
            if(i!=-1)
            {
                temp=temp.substring(0,i);
            }
            temp+='?pIndex='+pindex;
            window.opener.location.href=temp;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table>
                <tr>
                    <td>
                        <div style="height: 680px; width: 300px; overflow: scroll;">
                            <asp:TreeView ID="TreeView1" runat="server" ShowLines="True" Height="100%" 
                                Width="100%">
                            </asp:TreeView>
                        </div>
                    </td>
                    <td style="width: 42px">
                        <asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" Width="50px" /><br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" Width="50px" />
                    </td>
                    <td valign="top">
                        <asp:ListBox ID="lbEmps" runat="server" Height="680px" Width="200px"></asp:ListBox>
                    </td>
                </tr>
            </table>
        </div>
        <asp:Label ID="Label1" runat="server"></asp:Label>
        <asp:Label ID="Label2" runat="server"></asp:Label>
    </form>
</body>
</html>
